class Person():
  def __init__(self, name):
    self.name = name
  def getName(self):
    return self.name
  def setName(self, newName):
    self.name = newName

Alex = Person('Alex')
print(Alex.getName())
Alex.setName('Wang')
print(Alex.getName())
